{% extends "layout.html" %}

{% block title %}User Management{% endblock %}


{% block content %}
<ul class="nav nav-tabs custom-tab">
    <li><a href="{{ base_url }}admin/user.php" data-toggle="tab"><i class="icon-list"></i><span>Users</span></a></li>
    <li class="active"><a href="" data-toggle="tab"><i class="icon-user"></i><span>Add User</span></a></li>
</ul>
<div class="user-form">
    <h2>New User</h2>
    <form class="form-horizontal custom-form" method="post" action="user.php">
        <input type="hidden" name="action" value="add"/>
        <input type="hidden" name="save" value="1"/>
  <fieldset>
      <div>
          <label for="username">Username</label>
          <input type="text" name="username" id="username" class="input-xlarge" placeholder="username"/>
      </div>
      <div>
          <label for="password">Password</label>
          <input type="password" name="password" id="password" class="input-xlarge" placeholder="Password"/>
      </div>
      <div>
          <label for="email">Email</label>
          <input type="text" name="email" id="email" class="input-xlarge" placeholder="Email"/>
      </div>
      <div>
          <label for="first_name">First name</label>
          <input type="text" name="first_name" id="first_name" class="input-xlarge" placeholder="First name"/>
      </div>
      <div>
          <label for="last_name">Last name</label>
          <input type="text" name="last_name" id="last_name" class="input-xlarge" placeholder="First name"/>
      </div>
      <button type="submit" class="btn btn-primary">Save</button>
  </fieldset>
</form>
</div>

{% endblock %}